from django.urls import path
from . import views

urlpatterns = [
    path('api/', views.ShopViewSet.as_view({'post': 'create', 'get': 'list'})),
    path('api/<int:pk>/', views.ShopViewSet.as_view({'put': 'update', 'get': 'retrieve', 'delete': 'destroy'})),
]